 <div id="body_inner_right">
                <div id="wrapper_content">
                    <div id="content">
                    <h3>List of Testimonial</h3>
                    <?php echo $this->session->userdata("response") ?  $this->session->userdata("response") : ''; $response = array( "response" => "" ); $this->session->set_userdata($response);?>
                     <div id="testimonial_list">
                     <ul>
                        <?php
                            if($testimonial){
                            foreach($testimonial as $indextestimonial) {
                                ?>
                        
                        <li>
                        <div id="testimonial_edit">
                           <?php echo $indextestimonial["firstname"];?>, <?php echo $indextestimonial["lastname"];?> 
                           <div style="float: right"><a href="<?php echo base_url(); ?>index.php/testimonial/edit_testi/<?php echo $indextestimonial["id"];?>">Edit</a>&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;
                           <a href="<?php echo base_url(); ?>index.php/testimonial/delete/<?php echo $indextestimonial["id"];?>">Delete</a> </div>
                        </div>
                        </li>
                        <?php }
                            }?>
                            </ul>
                     </div>   
                    </div>
                </div>
            </div>
            
           